package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/PurchaseAdd.class */
public class PurchaseAdd implements Serializable {
    private static final long serialVersionUID = 756317234354964112L;
    private Integer id;
    private String purchaseNum;
    private String firstType;
    private String secondType;
    private String unit;
    private String purchaser;
    private String countUnit;
    private String startDate;
    private String price;
    private Integer status;
    private String purchaseType;
    @ApiModelProperty("附件集合")
    private List<UploadFile> uploadFileList;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setPurchaseNum(String purchaseNum) {
        this.purchaseNum = purchaseNum;
    }

    public void setFirstType(String firstType) {
        this.firstType = firstType;
    }

    public void setSecondType(String secondType) {
        this.secondType = secondType;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setPurchaser(String purchaser) {
        this.purchaser = purchaser;
    }

    public void setCountUnit(String countUnit) {
        this.countUnit = countUnit;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setPurchaseType(String purchaseType) {
        this.purchaseType = purchaseType;
    }

    public void setUploadFileList(List<UploadFile> uploadFileList) {
        this.uploadFileList = uploadFileList;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PurchaseAdd)) {
            return false;
        }
        PurchaseAdd other = (PurchaseAdd) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$purchaseNum = getPurchaseNum();
        Object other$purchaseNum = other.getPurchaseNum();
        if (this$purchaseNum == null) {
            if (other$purchaseNum != null) {
                return false;
            }
        } else if (!this$purchaseNum.equals(other$purchaseNum)) {
            return false;
        }
        Object this$firstType = getFirstType();
        Object other$firstType = other.getFirstType();
        if (this$firstType == null) {
            if (other$firstType != null) {
                return false;
            }
        } else if (!this$firstType.equals(other$firstType)) {
            return false;
        }
        Object this$secondType = getSecondType();
        Object other$secondType = other.getSecondType();
        if (this$secondType == null) {
            if (other$secondType != null) {
                return false;
            }
        } else if (!this$secondType.equals(other$secondType)) {
            return false;
        }
        Object this$unit = getUnit();
        Object other$unit = other.getUnit();
        if (this$unit == null) {
            if (other$unit != null) {
                return false;
            }
        } else if (!this$unit.equals(other$unit)) {
            return false;
        }
        Object this$purchaser = getPurchaser();
        Object other$purchaser = other.getPurchaser();
        if (this$purchaser == null) {
            if (other$purchaser != null) {
                return false;
            }
        } else if (!this$purchaser.equals(other$purchaser)) {
            return false;
        }
        Object this$countUnit = getCountUnit();
        Object other$countUnit = other.getCountUnit();
        if (this$countUnit == null) {
            if (other$countUnit != null) {
                return false;
            }
        } else if (!this$countUnit.equals(other$countUnit)) {
            return false;
        }
        Object this$startDate = getStartDate();
        Object other$startDate = other.getStartDate();
        if (this$startDate == null) {
            if (other$startDate != null) {
                return false;
            }
        } else if (!this$startDate.equals(other$startDate)) {
            return false;
        }
        Object this$price = getPrice();
        Object other$price = other.getPrice();
        if (this$price == null) {
            if (other$price != null) {
                return false;
            }
        } else if (!this$price.equals(other$price)) {
            return false;
        }
        Object this$status = getStatus();
        Object other$status = other.getStatus();
        if (this$status == null) {
            if (other$status != null) {
                return false;
            }
        } else if (!this$status.equals(other$status)) {
            return false;
        }
        Object this$purchaseType = getPurchaseType();
        Object other$purchaseType = other.getPurchaseType();
        if (this$purchaseType == null) {
            if (other$purchaseType != null) {
                return false;
            }
        } else if (!this$purchaseType.equals(other$purchaseType)) {
            return false;
        }
        Object this$uploadFileList = getUploadFileList();
        Object other$uploadFileList = other.getUploadFileList();
        return this$uploadFileList == null ? other$uploadFileList == null : this$uploadFileList.equals(other$uploadFileList);
    }

    protected boolean canEqual(Object other) {
        return other instanceof PurchaseAdd;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $purchaseNum = getPurchaseNum();
        int result2 = (result * 59) + ($purchaseNum == null ? 43 : $purchaseNum.hashCode());
        Object $firstType = getFirstType();
        int result3 = (result2 * 59) + ($firstType == null ? 43 : $firstType.hashCode());
        Object $secondType = getSecondType();
        int result4 = (result3 * 59) + ($secondType == null ? 43 : $secondType.hashCode());
        Object $unit = getUnit();
        int result5 = (result4 * 59) + ($unit == null ? 43 : $unit.hashCode());
        Object $purchaser = getPurchaser();
        int result6 = (result5 * 59) + ($purchaser == null ? 43 : $purchaser.hashCode());
        Object $countUnit = getCountUnit();
        int result7 = (result6 * 59) + ($countUnit == null ? 43 : $countUnit.hashCode());
        Object $startDate = getStartDate();
        int result8 = (result7 * 59) + ($startDate == null ? 43 : $startDate.hashCode());
        Object $price = getPrice();
        int result9 = (result8 * 59) + ($price == null ? 43 : $price.hashCode());
        Object $status = getStatus();
        int result10 = (result9 * 59) + ($status == null ? 43 : $status.hashCode());
        Object $purchaseType = getPurchaseType();
        int result11 = (result10 * 59) + ($purchaseType == null ? 43 : $purchaseType.hashCode());
        Object $uploadFileList = getUploadFileList();
        return (result11 * 59) + ($uploadFileList == null ? 43 : $uploadFileList.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "PurchaseAdd(id=" + getId() + ", purchaseNum=" + getPurchaseNum() + ", firstType=" + getFirstType() + ", secondType=" + getSecondType() + ", unit=" + getUnit() + ", purchaser=" + getPurchaser() + ", countUnit=" + getCountUnit() + ", startDate=" + getStartDate() + ", price=" + getPrice() + ", status=" + getStatus() + ", purchaseType=" + getPurchaseType() + ", uploadFileList=" + getUploadFileList() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getPurchaseNum() {
        return this.purchaseNum;
    }

    public String getFirstType() {
        return this.firstType;
    }

    public String getSecondType() {
        return this.secondType;
    }

    public String getUnit() {
        return this.unit;
    }

    public String getPurchaser() {
        return this.purchaser;
    }

    public String getCountUnit() {
        return this.countUnit;
    }

    public String getStartDate() {
        return this.startDate;
    }

    public String getPrice() {
        return this.price;
    }

    public Integer getStatus() {
        return this.status;
    }

    public String getPurchaseType() {
        return this.purchaseType;
    }

    public List<UploadFile> getUploadFileList() {
        return this.uploadFileList;
    }
}